
<script src="whiff_middleware/whiff_js"></script>

<h1>Expand a simple template at the server and exec file contents</h1>

You should get an alert saying "hello from example.js".
Because it uses absolute paths this page may not work
if not launched from ../runtest.py.

<script>
// expand a trivial template at the server to test loopback
var template = '{{include "example.js"/}}'
var url = "http://localhost:8888/whiff_middleware/expandPostedTemplate";
var cgi_prefix = "";
var asynchronous = false;

jswhiff_exec_template(url, [template], cgi_prefix, asynchronous);

</script>